package snippet;

/**
 * Created with IntelliJ IDEA.
 * User: keita
 * Date: 08/06/13
 * Time: 20:59
 * To change this template use File | Settings | File Templates.
 */
public class realTimeBar {
    int barSize;
    String whatToShow;
    boolean useRTH;

    public int getBarSize() {
        return barSize;
    }

    public String getWhatToShow() {
        return whatToShow;
    }

    public boolean isUseRTH() {
        return useRTH;
    }

    public realTimeBar() {
        barSize = 5;; // Only 5 second bars are supported
        whatToShow = "MIDPOINT";; // "BID", "ASK", "MIDPOINT", "BID_ASK"
        useRTH = false;; // ... OIV, OV, HV
    }
}
